﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Xceed.Wpf.Toolkit.PropertyGrid;

namespace CPPEI.Coolzon.UI.Designtime
{
    /// <summary>
    /// editor's value changed event
    /// </summary>
    public class EditorValueChangedEvent
    {
        public PropertyItem PropertyItem { get; set; }

        public DependencyProperty PropertyObject { get; set; }

        public object NewValue { get; set; }

        public EditorValueChangedEvent(PropertyItem propertyItem, DependencyProperty propertyObject, object newValue)
        {
            PropertyItem = propertyItem;
            PropertyObject = propertyObject;
            NewValue = newValue;
        }
    }
}
